package com.cisdi.info.mh.entity.User;

import com.cisdi.info.simple.entity.base.*;
import javax.persistence.*;
import java.io.Serializable;
import com.cisdi.info.simple.annotation.DColumn;
import com.cisdi.info.simple.annotation.DEntity;


@DEntity(label="用户",comment="",moduleLabel="用户管理")
@Entity(name="mh_user")
public class User extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	@DColumn(index=3,label="账号",comment="账号")
	@Column(name="account",length=255,nullable=false,unique=false)
	private String account;

	@DColumn(index=4,label="密码",comment="密码")
	@Column(name="password",length=255,nullable=false,unique=false)
	private String password;


	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	
}